How can I infer the type of the method on Java dynamically

welcome to shbcf.ru